<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sdCustAddrBean.id}"/>
		<f:event type="preRenderView" listener="#{sdCustAddrBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sd Cust Addr"/>

	<ui:define name="header">
		Sd Cust Addr
	</ui:define>

	<ui:define name="subheader">
		View existing Sd Cust Addr
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sdCustAddrBeanSdCustAddrSdCust" value="Sd Cust:"/>
			<h:link id="sdCustAddrBeanSdCustAddrSdCust" outcome="/sdCust/view" value="#{sdCustAddrBean.sdCustAddr.sdCust}">
				<f:param name="id" value="#{sdCustAddrBean.sdCustAddr.sdCust.custNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrSysAddrType" value="Sys Addr Type:"/>
			<h:link id="sdCustAddrBeanSdCustAddrSysAddrType" outcome="/sysAddrType/view" value="#{sdCustAddrBean.sdCustAddr.sysAddrType}">
				<f:param name="id" value="#{sdCustAddrBean.sdCustAddr.sysAddrType.addrTypeNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrSysAddr01" value="Sys Addr 01:"/>
			<h:link id="sdCustAddrBeanSdCustAddrSysAddr01" outcome="/sysAddr01/view" value="#{sdCustAddrBean.sdCustAddr.sysAddr01}">
				<f:param name="id" value="#{sdCustAddrBean.sdCustAddr.sysAddr01.addr01No}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrNo" value="Cust Addr No:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrNo" value="#{sdCustAddrBean.sdCustAddr.custAddrNo}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrMoo" value="Cust Addr Moo:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrMoo" value="#{sdCustAddrBean.sdCustAddr.custAddrMoo}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrSoi" value="Cust Addr Soi:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrSoi" value="#{sdCustAddrBean.sdCustAddr.custAddrSoi}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrRoad" value="Cust Addr Road:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrRoad" value="#{sdCustAddrBean.sdCustAddr.custAddrRoad}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrBuilding" value="Cust Addr Building:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrBuilding" value="#{sdCustAddrBean.sdCustAddr.custAddrBuilding}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrFloor" value="Cust Addr Floor:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrFloor" value="#{sdCustAddrBean.sdCustAddr.custAddrFloor}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrRoom" value="Cust Addr Room:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrRoom" value="#{sdCustAddrBean.sdCustAddr.custAddrRoom}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrName01" value="Cust Addr Name 01:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrName01" value="#{sdCustAddrBean.sdCustAddr.custAddrName01}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrPostcode" value="Cust Addr Postcode:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrPostcode" value="#{sdCustAddrBean.sdCustAddr.custAddrPostcode}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrPhoneNo" value="Cust Addr Phone No:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrPhoneNo" value="#{sdCustAddrBean.sdCustAddr.custAddrPhoneNo}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrFaxNo" value="Cust Addr Fax No:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrFaxNo" value="#{sdCustAddrBean.sdCustAddr.custAddrFaxNo}"/>
			<h:outputText/>
			<h:outputLabel for="sdCustAddrBeanSdCustAddrCustAddrMobileNo" value="Cust Addr Mobile No:"/>
			<h:outputText id="sdCustAddrBeanSdCustAddrCustAddrMobileNo" value="#{sdCustAddrBean.sdCustAddr.custAddrMobileNo}"/>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>